<template>
  <div>
    <ShareList v-for="(list,index) in shareRefList" :key="list.id" :item="list" :index="index"></ShareList>
    <el-empty :image-size="200" v-if="shareRefList.length === 0" />
  </div>
</template>


<script lang="ts" setup>
import { computed } from 'vue'
import shareStore from '@/stores/sahre'
import ShareList from '../../components/share-list/index.vue'


const ShareStore = shareStore()

ShareStore.getAxiosList()

const shareRefList = computed(() => ShareStore.getFormatList)
console.log(shareRefList.value.length);

</script>